package com.rykj.energy.database.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("business_camera_object")
@ApiModel("摄像头关联的检测对象")
public class BusinessCameraObject  extends BasePojo{

    @ApiModelProperty("主键")
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "任务id" )
    @TableField(value = "taskId")
    private Integer taskId;

    @ApiModelProperty(value = "摄像头id" )
    @TableField(value = "cameraId")
    private Integer cameraId;

    @ApiModelProperty(value = "摄像头id" )
    @TableField(value = "cameraId")
    private Integer presetId;

    @ApiModelProperty(value = "检测的对象id" )
    @TableField(value = "objectId")
    private Integer objectId;

    @ApiModelProperty(value = "序号" )
    @TableField(value = "orderNum")
    private Integer orderNum;

    @ApiModelProperty(value = "检测对象的名称" )
    @TableField(value = "objectName")
    private String objectName;

}
